package com.czl.module_service.system

/**
 * @author by xubin,
 * @date on 2022/1/20.
 * PS: Not easy to write code, please indicate.
 */
interface Constants {
    object SpKey {
        const val STOREHOUSE_USER_ID: String = "storehouse_user_id"
        const val STOREHOUSE_USER_NAME: String = "storehouse_user_name"
        const val STOREHOUSE_ID: String = "storehouse_id"
        const val STOREHOUSE_NAME: String = "storehouseName"
        const val COMPANY_NAME: String = "companyName"
        const val COMPANY_ID: String = "companyId"
        const val COMPANY_SHORT_NAME: String = "companyShortName"
        const val MANAGE_COMPANY_ID: String = "manageCompanyId"
        const val MANAGE_COMPANY_SHORT_NAME: String = "manageCompanyShortName"
        const val STORE_COMPANY_SHORT_NAME: String = "storeCompanyShortName"
        const val MANAGE_COMPANY_NAME: String = "manageCompanyName"
        const val STOREHOUSE_LOCATION_ID: String = "storehouse_location_id"
        const val STOREHOUSE_LOCATION_NAME: String = "storehouse_location_name"
    }

    object Params {
        const val pageSize = 10
    }

    object Tag {
        const val TAG_RECEIVE = 1
        const val TAG_BORROW = 2
    }

    object SortBean {
        const val MANAGE_MODE_PRODUCT = 1
        const val MANAGE_MODE_SORT = 2
        const val ADD_TYPE_FACILITY = 3
        const val ADD_TYPE_SORT = 4
    }

    object OperationType {
        const val RECEIVE = 1
        const val BORROW = 2
        const val REMAND = 3
        const val ALLOCATE = 4
        const val SHIFT = 5
    }

    object ScanProductType {
        const val SCAN_PRODUCT_TYPE_ID = 1
        const val SCAN_PRODUCT_TYPE_CODE = 2
    }

    object StoreHouseConfig {
        const val type = ScanProductType.SCAN_PRODUCT_TYPE_CODE
    }

    object QRCodeRule {
        const val REMAP_SH = "remapsh"
        const val REMAP_SORT = "remapsort"
    }

    object CompanyTag {
        const val TAG_SUPPLIER = 6
    }

    object CompanyType {
        const val TYPE_SUPPLIER = 1
    }
}